using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using emp.DALFactory;
using emp.IDAL;
using emp.Model;
using System.Collections;

namespace emp.BLL
{
    public class IndividualSelect
    {
        public DataTable selectInvestitureList(string cam_code,string cam_name,string stratDate,string endDate)
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.selectInvestitureList(cam_code,cam_name,stratDate,endDate);
        }

        public DataTable selectInvestitureDetailList(string cac_id)
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.selectInvestitureDetailList(cac_id);
        }
        public DataTable selectBatchDetailList(string cac_id)
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.selectBatchDetailList(cac_id);
        }

        public bool InsertDetail(string[] parm)
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.InsertDetail(parm);
        }
        public bool InsertBatch(string[] parm)
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.InsertBatch(parm);
        }
        public DataSet getCompanyList()
        {
            IIndividualSelect dal = emp.DALFactory.IndividualSelect.Create();
            return dal.getCompanyList();
        }
    }
}
